package realestate.entity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 08.04.11
 * Time: 15:43
 * To change this template use File | Settings | File Templates.
 */

@MappedSuperclass
public class BigCityMapObject extends RealEstate {

	@Column(nullable = false)
	private DistrictInfo district;

	public DistrictInfo getDistrict() {
		return district;
	}

	public void setDistrict(DistrictInfo district) {
		this.district = district;
	}
}
